mixin plainInput(name, label, type)
	.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label
		input.mdl-textfield__input(type= type name= name id=name)
		label.mdl-textfield__label(for= name)= label

mixin chaptcha()
	.mdl-grid--no-padding
		.mdl-cell--6-col
			.mdl-textfield.mdl-js-textfield.mdl-textfield--floating-label
				input.mdl-textfield__input(type="text" name="challenge" id="challenge" autocomplete="off")
				label.mdl-textfield__label(for="challenge") 验证码
		#challenge-box.mdl-cell--6-col
		.mdl-cell--2-col
			button#btn-challenge-refresh.mdl-button.mdl-js-buttton.mdl-button--colored(type="button" onclick="refreshChallenge()") 刷新
